package com.Maykk.Demo09;

/**
 * @ClassName: Test
 * @Description: TODO
 * @Author: MaykkStar@163.com
 */
public class Test {
    public static void main(String[] args) {
        Box box = new Box();
        Thread p = new Thread(new Producer(box),"送奶工");
        Thread c = new Thread(new Customer(box),"小明");

        p.start();
        c.start();
    }
}
